import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
/* 导入VANT */
import { Lazyload, Button } from 'vant';
import './assets/reset.min.css';
import 'amfe-flexible';
import 'vant/lib/index.css';
/* 处理最大宽度 */
import { handleMaxWidth } from './assets/utils';
handleMaxWidth();
window.addEventListener('resize', handleMaxWidth);

const app = createApp(App)
app.use(Button);
app.use(Lazyload, {
    lazyComponent: true
});
app.use(store)
app.use(router)
app.mount('#app')
